import { BrowserRouter, HashRouter, Route, Switch, Link, NavLink,Redirect } from "react-router-dom"
import Login from './pages/login'
import Home from './pages/home'

function App() {
  return (
    <div className="App">
      <BrowserRouter>
        <Switch>
          <Route path={"/login"} component={Login}></Route>
          <Route exact path={"/"} component={Login}></Route>
          <Route path={"/"} component={Home}></Route>
          
        </Switch>
      </BrowserRouter>
    </div>
  );
}

export default App;
